import React from 'react';
import logo from '@/assets/logo.svg';
import Link from 'umi/link';
import { Col } from 'antd'

const Logo = props => {

    return (
        <Col span={props.span}>
            <h1>
                <Link to='/algorithm/dataCenter' style={{ color: '#3D4852', font: '700 18px SourceHanSansSC-regular' }}>
                    <img src={logo} alt="logo" style={{ display: 'inlineblock', height: 28, marginRight: 10 }} />
                    {props.text}
                </Link>
            </h1>
        </Col>
    );
};

export default Logo
